PaymentPlugins\WooCommerce\PPCP\PaymentHandler B

Total Complexity 77
Dependencies 19
Dependents 8
Total lines 423
Lines of code 313
Logical lines of code 188
Comment lines 67
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
process_payment()
B
36 20 78
process_void()
A
50 8 29
process_capture()
A
47 7 35
get_create_order_params()
S
49 5 30
process_refund()
S
54 5 20
payment_complete()
S
53 4 21
process_order_cancellation()
S
55 4 18
get_update_order_params()
S
57 3 16
get_payment_method_token_from_paypal_order()
S
64 4 10
validate_paypal_order()
S
72 3 5
save_order_meta_data()
S
59 2 14
get_paypal_order_id_from_request()
S
72 2 5
is_processing()
S
71 2 6
remove_processing()
S
81 1 3
get_cache()
S
82 1 3
__construct()
S
74 1 5
set_processing()
S
81 1 3
set_payment_method()
S
81 1 3
add_payment_complete_message()
S
80 1 3
set_use_billing_agreement()
S
81 1 3
get_payment_method()
S
82 1 3